package com.SH.service;

import com.SH.pojo.User;

import java.util.List;

public interface UserService {
    public User getUserByName(String username);

    public Boolean addUser(User user);

    public List<User> getUsers();

    public User getUserById(Integer id);

    public Boolean updateUser(User user);

    public List<String> getRoles();

    public Boolean deleteUser(Integer id);
}
